package com.example.day03_2_consumer.feign;

import com.example.day03_2_consumer.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignImpl implements UserFeign{
    @Override
    public User fbi(Integer id) {
        User user = new User();
        user.setName("查询失败");
        return user;
    }
}
